package com.woniuxy.dao;

import java.util.List;

import com.woniuxy.pojo.Role;

public interface RoleMapper {
	public List<Role> selectAllRoles();
	public List<Role> getRolesByUid(Integer userId);
	public List<Role> getRolesByPid(Integer permissionId);
	public Role selectRoleById(Integer id);
}
